<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<script id="allmobilize" charset="utf-8"
	src="style/js/allmobilize.min.js"></script>
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="alternate" media="handheld" />
<!-- end 云适配 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>找回密码-拉勾网-最专业的互联网招聘平台</title>
<meta property="qc:admins" content="23635710066417756375" />
<meta content="拉勾网是3W旗下的互联网领域垂直招聘网站,互联网职业机会尽在拉勾网" name="description">
<meta
	content="拉勾,拉勾网,拉勾招聘,拉钩, 拉钩网 ,互联网招聘,拉勾互联网招聘, 移动互联网招聘, 垂直互联网招聘, 微信招聘, 微博招聘, 拉勾官网, 拉勾百科,跳槽, 高薪职位, 互联网圈子, IT招聘, 职场招聘, 猎头招聘,O2O招聘, LBS招聘, 社交招聘, 校园招聘, 校招,社会招聘,社招"
	name="keywords">

<meta name="baidu-site-verification" content="QIQ6KC1oZ6" />

<!-- <div class="web_root"  style="display:none">http://www.lagou.com</div> -->
<script type="text/javascript">
	var ctx = "http://www.lagou.com";
	console.log(1);
</script>
<link rel="Shortcut Icon" href="http://www.lagou.com/images/favicon.ico">
<link rel="stylesheet" type="text/css" href="style/css/style.css" />

<script src="style/js/jquery.1.10.1.min.js" type="text/javascript"></script>

<script type="text/javascript" src="style/js/jquery.lib.min.js"></script>
<script type="text/javascript" src="style/js/core.min.js"></script>
<script type="text/javascript" src="style/js/analytics.js"></script>
<script type="text/javascript" src="style/js/conv.js"></script>
<script src="js/jquery-3.2.1.js"></script>
<script type="text/javascript">
	var youdao_conv_id = 271546;
	function yzm() {
		$('#myspan1').html("");
		$('#myspan2').html("");
		$('#myspan3').html("");
		$('#myspan4').html("");
		$('#myspan5').html("");
		var danxuan = $("input[name='a']:checked").val();
		var email = $('#email').val();
		$.post("YZMServlet", {
			email : email,danxuan:danxuan
		}, function(obj) {
			if(obj=="邮箱不能为空！"){
				$('#myspan1').html(obj);
			}else if(obj=="邮箱格式错误！"){
				$('#myspan1').html(obj);
			}else if(obj=="用户验证码发送成功！"){
				$('#myspan1').html(obj);
			}else if(obj=="公司验证码发送成功！"){
				$('#myspan1').html(obj);
			}else if(obj=="此公司邮箱不存在！"){
				$('#myspan1').html(obj);
			}else if(obj=="此用户邮箱不存在！"){
				$('#myspan1').html(obj);
			}

		})

	}
</script>
<script type="text/javascript">
	function reset() {
		$('#myspan1').html("");
		$('#myspan2').html("");
		$('#myspan3').html("");
		$('#myspan4').html("");
		$('#myspan5').html("");
		var danxuan = $("input[name='a']:checked").val();
		
		var yzm = $('#yzm').val();
		var email = $('#email').val();
		var pwd1 = $('#pwd1').val();
		var pwd2 = $('#pwd2').val();
		$.post("ResetPWDServlet", {
			yzm : yzm,
			pwd1 : pwd1,
			pwd2 : pwd2,
			email:email,danxuan:danxuan
		}, function(obj) {
			if(obj=="验证码未发送！！"){
				$('#myspan1').html(obj);
			}else if(obj=="密码过短，不安全！请重新设置！"){
				$('#myspan3').html(obj);
			}else if(obj=="两次密码输入不一致！请重新输入"){
				$('#myspan4').html(obj);
			}else if(obj=="用户重置密码成功！"){
				$('#myspan5').html(obj);
			}else if(obj=="此用户邮箱不存在！"){
				$('#myspan1').html(obj);
			}else if(obj=="公司重置密码成功！"){
				$('#myspan5').html(obj);
			}else if(obj=="此公司邮箱不存在！"){
				$('#myspan1').html(obj);
			}else if(obj=="验证码不正确！"){
				$('#myspan2').html(obj);
			}

		})

	}
</script>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body id="login_bg">
	<div class="login_wrapper">
		<div class="login_header">
			<a href="ToIndexServlet"><img src="style/images/logo_white.png"
				width="285" height="62" alt="拉勾招聘" /></a>
			<div id="cloud_s">
				<img src="style/images/cloud_s.png" width="81" height="52"
					alt="cloud" />
			</div>
			<div id="cloud_m">
				<img src="style/images/cloud_m.png" width="136" height="95"
					alt="cloud" />
					
			</div>
		</div>

		<input type="hidden" id="resubmitToken" value="" />
		<div class="find_psw">
<div style="color: green">
						<input type="radio" name="a" value="1" id="user" checked="checked" />找工作
						&nbsp;
						<input type="radio" name="a" id="business" value="2" />招人

					</div><br/><br/>

			邮箱：<input type="text" name="email" id="email" tabindex="1" value=""
				placeholder="请输入注册时使用的邮箱地址" style="width: 250px" />&nbsp;&nbsp;&nbsp;&nbsp;
			<input type="button" value="发送验证码" onclick="yzm()" /> <br />&nbsp;
			
			<span id="myspan1"></span><br /> <br /> 
			
			验证码：<input style="width: 230px" type="text" 
				id="yzm" tabindex="2" name="yzm" value="" placeholder="请输入邮箱验证码" /><br />
			&nbsp;<span id="myspan2"></span><br /> 
			
			<br /> 密码：<input style="width: 250px" type="password" id="pwd1"
				tabindex="3" name="pwd1" value="" placeholder="请输入您的重置密码" /><br />
			&nbsp;<span id="myspan3"></span><br /> 
			
			<br />密码：<input style="width: 250px" type="password" value=""
				name="pwd2" id="pwd2" tabindex="4" placeholder="请再次输入您的重置密码" /><br />
			&nbsp;<span id="myspan4"></span><br /> <br /> 
			
			
			<input type="button"
				id="submitLogin" value="重置密码" onclick="reset()" /><a href="login.jsp" class="registor_now">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;立即登录</a> <br /><br /><br /> 
				
				&nbsp;<span
				id="myspan5"></span><br />

		</div>
	</div>


</body>
</html>
